package model.wrap.user;

public class UserException extends model.UserException
{

    private static final long serialVersionUID = 1L;
    
    public static UserException getExceptionWhitUserMessage(String userMessage)
    {
	if( userMessage == null) userMessage = "";
	UserException err = new UserException();
	err.setUserException(userMessage);
	return err;
    }
    
    public static UserException errorCreaterNotFind()
    {
	String errMsg = "Пользователь не найден.";
	return UserException.getExceptionWhitUserMessage(errMsg);
    }

}
